package ru.stool.erp.model.entities;

import java.math.BigInteger;
import java.util.List;

public class EmployeeEntity {
	
	private BigInteger employeeID;
	private EmployeePositionEntity position;
	private BigInteger managerID;
	private String firstname;
	private String lastname;
	private String patronymic;
	private String login;
	private String password;
	private boolean active;
	private List<String> effectiveGrants;
	private List<EmployeeGroupEntity> groups;

	public EmployeeEntity(){
		
	}

	public BigInteger getEmployeeID() {
		return employeeID;
	}

	public void setEmployeeID(BigInteger employeeID) {
		this.employeeID = employeeID;
	}

	public EmployeePositionEntity getPosition() {
		return position;
	}

	public void setPosition(EmployeePositionEntity position) {
		this.position = position;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	public String getPatronymic() {
		return patronymic;
	}

	public void setPatronymic(String patronymic) {
		this.patronymic = patronymic;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public List<EmployeeGroupEntity> getGroups() {
		return groups;
	}

	public void setGroups(List<EmployeeGroupEntity> groups) {
		this.groups = groups;
	}

	public BigInteger getManagerID() {
		return managerID;
	}

	public void setManagerID(BigInteger managerID) {
		this.managerID = managerID;
	}

	public List<String> getEffectiveGrants() {
		return effectiveGrants;
	}

	public void setEffectiveGrants(List<String> effectiveGrants) {
		this.effectiveGrants = effectiveGrants;
	}
	
	
}
